﻿namespace SADev.SharePointHolidayLoader
{
    using System;

    class Country
    {
        private readonly HolidayList holidays = new HolidayList();

        public Country(string name, int id)
        {
            this.Name = name;
            this.ID = id;
        }

        public string Name { get; private set; }
        public int ID { get; private set; }
        public HolidayList Holidays
        {
            get
            {
                return holidays;
            }
        }


        internal void AddHoliday(string name, DateTime date)
        {
            holidays.Add(name, date);
        }
    }
}
